package com.infitecs.eyas.judge.dao;

import com.infitecs.eyas.judge.model.ReportRecord;
import com.infitecs.krill.mybatis.annotation.mybatisRepository;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Demon on 2015/4/28.
 */
@mybatisRepository
public interface JudgeDao {
    ReportRecord judgeE10ByJudgeCase1(@Param("result")double vdaf);

    ReportRecord judgeE10ByJudgeCase2(@Param("result")double vdaf);

    ReportRecord judgeE15ByJudgeCase2(@Param("result")double qnetAr);

    ReportRecord judgeE7ByJudgeCase2(@Param("result")double E7);

    ReportRecord judgeE3ByJudgeCase2(@Param("result")double mar);

    ReportRecord judgeE8ByJudgeCase2(@Param("result")double E8);

    ReportRecord judgeE54ByJudgeCase2(@Param("result")double st);

    ReportRecord judgeE57ByJudgeCase3(@Param("result")double rt);

    ReportRecord judgeE80ByJudgeCase4(@Param("result")double kd);

    ReportRecord judgeE21ByJudgeCase5(@Param("result")double hgi);

    ReportRecord judgeE23ByJudgeCase6(@Param("result")double ke);

    ReportRecord judgeE24ByJudgeCase6(@Param("result")double al);

    ReportRecord judgeE85ByJudgeCase7(@Param("result")double rz);

    ReportRecord judgeE50ByJudgeCase8(@Param("result")double kgc);

    ReportRecord judgeE51ByJudgeCase9(@Param("result")double hm);

    void addReportRecord(ReportRecord reportRecord);

    List<ReportRecord> getReportByCaseId(@Param("caseId") int caseId);

}
